<iframe sandbox="allow-same-origin" id="subframe"></iframe>
<script>
if (window.testRunner)
  testRunner.dumpAsText();

oldNav = window.frames[0].navigator;
document.getElementById("subframe").remove();
oldNav.getGamepads();
</script>
PASS if no crash.
